#ifndef STRUCTS_H
#define STRUCTS_H

/**Contains data structures associated with the legoland data structure**/
//Holds k-means clustering data from analysis
struct centroid{
    float x; //centroid's x-axis value
    float y; //centroid's y-axis value
    float prob; //probability of associated cluster
};

//Holds coordinates for the analyzed read from sample
struct coordinates
{
    float x; //read x-axis value
    float y; //read y-axis value
};

//Holds the genus/species code and associated probability
struct lego{
    unsigned short taxon; //code representation of the genus/species
    float prob; //probability of a particular cluster with said genus/species
};

struct taxon_less{
    bool operator ()(lego const& a, lego const& b) const {
        if(a.taxon < b.taxon) return true;
        return false;
        }
};

#endif
